package cn.rokhdelar.ams.management.domain.query;

import cn.rokhdelar.ams.common.domain.query.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 权限查询Query实体
 * @author Rokhdelar
 * @since 2024-10-10
 * @version 1.0.0
 */

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(title = "权限查询Query",description = "用于封装权限模块的查询条件")
public class AuthorityQuery extends PageQuery {
    @Schema(title = "权限名称",description = "用于根据权限名称模糊查询")
    private String name;

    @Schema(title = "状态",description = "用于根据状态查询")
    private Boolean status;

    @Schema(title = "权限标识符",description = "用于根据权限标识符模糊查询")
    private String authorityKey;
}
